package com.example.cardserver.service;

import com.example.cardserver.entity.Goods;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface IGoodsService {
    List<Goods> findList();
    
    Goods findById(Integer id);
    
    Goods findByTitle(String title);
    
    //void order(Integer uid, Integer gid, String addr);
    
    void addNew(Goods goods, Integer price, String avatar);
    
    void changePicture(Integer id, String pic);
}
